package com.homework2;

public class Faculty extends Employee {
    private String degree;
    private String evel;

    public Faculty(String name, String address, String telephone, String email, String office, double wage, String hiredate, String degree, String evel) {
        super(name, address, telephone, email, office, wage, hiredate);
        this.degree = degree;
        this.evel = evel;
    }

    public Faculty() {

    }

    public String getDegree() {
        return degree;
    }

    public void setDegree(String degree) {
        this.degree = degree;
    }

    public String getEvel() {
        return evel;
    }

    public void setEvel(String evel) {
        this.evel = evel;
    }
    public void print(){
        super.print();
        System.out.println("：学位degree（String类型）、级别level（String类2");
    }
}
